@model IEnumerable<Client>
@{
	ViewBag.Title = "Clients";
}
<h1>Clients</h1>
<p>
	@Html.ActionLink("Create", "Create")
</p>
<table>
	<tr>
		<th>Name </th>
		<th>Logo </th>
		<th></th>
	</tr>
	@foreach (var item in Model)
 {
		<tr>
			<td>
				@Html.DisplayFor(modelItem => item.Name)
			</td>
			<td>
				<img src="@item.Logo"/>
			</td>
			<td>
				@Html.ActionLink("Subscriptions", "Index", "Subscription", new { clientID = item.ID }, null) |
				@Html.ActionLink("Edit", "Edit", new { id = item.ID }) |
				@Html.ActionLink("Delete", "Delete", new { id = item.ID })
			</td>
		</tr>
 }
</table>
